package com.samebuilding.domain;

/**
 * AbstractChat entity provides the base persistence definition of the Chat
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractChat implements java.io.Serializable {

	// Fields

	private Integer chatId;
	private String chatName;
	private String chatMessage;
	private Integer creatorId;
	private String creatorName;
	private String managersId;
	private String membersId;
	private Integer memberCount;
	private Integer type;
	private Integer state;

	// Constructors

	/** default constructor */
	public AbstractChat() {
	}

	/** full constructor */
	public AbstractChat(String chatName, String chatMessage, Integer creatorId,
			String creatorName, String managersId, String membersId,
			Integer memberCount, Integer type,Integer state) {
		this.chatName = chatName;
		this.chatMessage = chatMessage;
		this.creatorId = creatorId;
		this.creatorName = creatorName;
		this.managersId = managersId;
		this.membersId = membersId;
		this.memberCount = memberCount;
		this.type = type;
		this.state=state;
	}

	// Property accessors

	public Integer getChatId() {
		return this.chatId;
	}

	public void setChatId(Integer chatId) {
		this.chatId = chatId;
	}

	public String getChatName() {
		return this.chatName;
	}

	public void setChatName(String chatName) {
		this.chatName = chatName;
	}

	public String getChatMessage() {
		return this.chatMessage;
	}

	public void setChatMessage(String chatMessage) {
		this.chatMessage = chatMessage;
	}

	public Integer getCreatorId() {
		return this.creatorId;
	}

	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}

	public String getCreatorName() {
		return this.creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public String getManagersId() {
		return this.managersId;
	}

	public void setManagersId(String managersId) {
		this.managersId = managersId;
	}

	public String getMembersId() {
		return this.membersId;
	}

	public void setMembersId(String membersId) {
		this.membersId = membersId;
	}

	public Integer getMemberCount() {
		return this.memberCount;
	}

	public void setMemberCount(Integer memberCount) {
		this.memberCount = memberCount;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}